package com.fqgj.xjd.user.service.impl;
/**
 * Created by zhangxingyun on 17/7/23.
 */

import com.fqgj.xjd.user.client.UserAuthService;
import com.fqgj.xjd.user.client.UserFeatureService;
import com.fqgj.xjd.user.client.enums.UserTagTypeEnum;
import com.fqgj.xjd.user.client.response.Evaluate;
import com.fqgj.xjd.user.client.response.UserTag;
import com.fqgj.xjd.user.dao.UserFeatureTagMapDao;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName:
 * @Description: 用户特征信息服务
 * @Author zhangxingyun
 * @Create 2017-07-23 21:17
 */
@Service("userFeatureService")
public class UserFeatureServiceImpl implements UserFeatureService {
    private static final Logger LOGGER = LoggerFactory.getLogger(UserAuthService.class);
    @Autowired
    private UserFeatureTagMapDao userFeatureTagMapDao;


    @Override
    public Boolean addTagsToUser(String userCode, List<Long> tags) {
        Integer num = userFeatureTagMapDao.addTagsToUser(userCode,tags);
        if(null != num && num >0 ){
            return true;
        }
        return false;
    }

    @Override
    public Boolean delUserTags(String userCode, List<Long> tags) {
        return null;
    }

    @Override
    public List<UserTag> getUserTagsByType(String userCode, UserTagTypeEnum userTagTypeEnum) {
        return null;
    }

    @Override
    public List<UserTag> getInfoByTagIds(List<Long> tagIds) {
        return null;
    }

    @Override
    public List<UserTag> getAllUserTagsByTypes(List<UserTagTypeEnum> userTagTypeEnumList) {
        return null;
    }

    @Override
    public Boolean addEvaluateToUser(String userCode, Evaluate evaluate) {
        return null;
    }

    @Override
    public List<Evaluate> getEvaluateListByUserCode(String userCode) {
        return null;
    }
}
